package design_pattern.study.combination;

public class Client {
    public static void main(String[] args) {
        University university = new University("萍乡学院", "顶呱呱");
        College college = new College("信计学院", "真不错");
        College college1 = new College("初教学院", "我喜欢");
        university.add(college);
        university.add(college1);
        college.add(new DepartMent("软件工厂","有钱景"));
        college.add(new DepartMent("数字媒体技术","有艺术"));
        college1.add(new DepartMent("小学教育","有我老婆"));
        college1.add(new DepartMent("初等教育","哒哒哒"));
        university.print();
    }
}
